﻿using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace SassModule
{
    public class Common
    {
        public static string GetHeader4DB(HttpRequest request)
        {
            string db = null;
            if (request.Headers.ContainsKey("db"))
            {
                db = request.Headers["db"].ToString();
            }
            return db;
        }
    }
}
